//
//  ChatSql.h
//  HiCar
//
//  Created by huachun on 2019/3/22.
//  Copyright © 2019 丁一. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class ChatModel;

@interface ChatSql : NSObject

-(instancetype)init;

- (void)Insertdata:(ChatModel *)model;

- (NSMutableArray *)selectdata;

- (NSMutableArray *)selectdatanews;

- (NSMutableArray *)selectdatanews:(NSString *)user_id;

- (NSMutableArray *)selectdatanewstixing:(NSString *)user_id;

- (void)deletedata:(ChatModel *)model;

- (void)uadatedata:(NSString *)user_id;

- (void)uadatedatatype:(ChatModel *)model;

- (void)uadatedatadu:(ChatModel *)model;

- (void)deletedataall;

@end

NS_ASSUME_NONNULL_END
